package charpter12.lynx;

public class Twentyfour {
	public Twentyfour() throws ConstructionException {

	}

	public void dispose() {
		System.out.println("Twentyfour已经释放了");
	}

	public static void main(String[] args) {
		try {
			Twentyfour twentythree = new Twentyfour();
			try {
				Twentyfour twentytwo = new Twentyfour();
				twentytwo.dispose();
			} catch (ConstructionException e) {
				System.out.println("TwentyTwo constructor failed.");
			}finally{
				twentythree.dispose();
			}
		} catch (ConstructionException e) {
			e.printStackTrace();
		}
	}
}
